﻿@{
    var cssLink = string.Format("http://{0}/{1}", Request.Url.Host, "Content/themes/phoneapp/site.css");
}

<link href="@cssLink" rel="stylesheet" type="text/css" />
@RenderBody()
<script type="text/javascript">
    $(document).ready(function () {
        refreshScroll();
    });

    function refreshScroll() {
        if ($('link[ref$=""@cssLink""]').length == 0) {
            setTimeout(function () {
                refreshScroll();
            }, 500);
        }
        myScroll.refresh();
    }
</script>